package com.direct.ssh.service;

import java.util.List;

import com.direct.ssh.domain.Power;
import com.direct.ssh.domain.Role;

public interface RoleService {
	Role add(Role role);

	List<Role> queryList();

	Role querySingel(Role role);

	void deleteRole(Role role);

	void deletePowerFromRole(Role r, Power p);
}
